package com.jymj.service.impl;

import com.jymj.dao.EnviorPatrolDao;
import com.jymj.entity.data.PatrolEntity;
import com.jymj.entity.landmanage.PjEnviorSupvsEntity;
import com.jymj.entity.landmanage.ScoreEntity;
import com.jymj.service.EnviorPatrolSerice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by ${lc} on 2020/11/26.
 */
@Service
public class EnviorPatrolSericeImpl implements EnviorPatrolSerice {

    @Autowired
    private EnviorPatrolDao enviorPatrolDao;

    @Override
    public List<PjEnviorSupvsEntity> queryList(PatrolEntity patrolEntity) {
        return enviorPatrolDao.queryList(patrolEntity);
    }

    @Override
    public int queryTotal(PatrolEntity patrolEntity) {
        return enviorPatrolDao.queryTotal(patrolEntity);
    }

    @Override
    public List<ScoreEntity> queryScore(PatrolEntity patrolEntity) {
        return enviorPatrolDao.queryScore(patrolEntity);
    }

    @Override
    public int queryScoreTotal(PatrolEntity patrolEntity) {
        return enviorPatrolDao.queryScoreTotal(patrolEntity);
    }
}
